package cn.jyj.springframework.context;

import java.util.EventListener;

/**
 * @Author 老顽固小可爱
 * @Date 2023/1/9 16:35
 * @Version 1.0
 */
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);

}
